import request from '@/utils/request'

// 查询出库任务查询列表
export function listPICKINGWAVEGOODS(query) {
  return request({
    url: '/system/chuku/pickingwavegoods/list',
    method: 'get',
    params: query
  })
}

// 查询出库任务查询详细
export function getPICKINGWAVEGOODS(PICKINGID) {
  return request({
    url: '/system/chuku/pickingwavegoods/' + PICKINGID,
    method: 'get'
  })
}

// 新增出库任务查询
export function addPICKINGWAVEGOODS(data) {
  return request({
    url: '/system/chuku/pickingwavegoods',
    method: 'post',
    data: data
  })
}

// 修改出库任务查询
export function updatePICKINGWAVEGOODS(data) {
  return request({
    url: '/system/chuku/pickingwavegoods',
    method: 'put',
    data: data
  })
}

// 删除出库任务查询
export function delPICKINGWAVEGOODS(PICKINGID) {
  return request({
    url: '/system/chuku/pickingwavegoods/' + PICKINGID,
    method: 'delete'
  })
}

export function updateCkRwSts(data) {
  return request({
    url: '/system/chuku/pickingwavegoods/updateCkRwSts',
    method: 'post',
    data: data
  })
}

